import { CSSProperties } from "react";
import { Image } from "antd";

export function ImageWithFallback({
  style,
  src,
}: {
  style?: CSSProperties;
  src: string;
}) {
  return (
    <Image
      style={style ?? {}}
      src={src}
      fallback=""
    />
  );
}
